package com.net.tkc.pro.service;


import com.net.tkc.pro.entity.Picture;
import com.net.tkc.pro.impl.PictureImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PictureService{
    @Resource
    PictureImpl pictureImpl;


    public int addPicture(Picture Picture) {
        return pictureImpl.addPicture(Picture);
    }

    public int upPicture(String picture, String explain, int examine, int id) {
        return pictureImpl.upPicture(picture, explain, examine, id);
    }

    public List<Picture> getList() {
        return pictureImpl.getList();
    }
}
